//
//  AnimationToastViewController.swift
//  funcode
//
//  Created by Wan Jiading on 2016/11/11.
//  Copyright © 2016年 WanJiading. All rights reserved.
//

import UIKit

class AnimationToastViewController: Base1ViewController, JDImageToastViewDelegate {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
	@IBAction func btnClick1() {
		let v = ConfirmView("爱咋咋地")
		v.show()
	}

	@IBAction func btnClick2() {
		JDToast.show("哇哈哈")
	}
	
	@IBAction func btnClick3() {
		let v = JDImageToastView("左滑查看全部歌词", self)
		v.show()
	}
	
	func jdImageToastViewDidDismiss(_ imageToastView: JDImageToastView) {
		imageToastView.dismiss()
		
		
	}
	
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
